package com.dream21th.flow.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dream21th.flow.common.dto.QueryModelRespDTO;
import com.dream21th.flow.entity.ActHiComment;
import com.dream21th.flow.mapper.ActHiCommentMapper;
import com.dream21th.flow.service.ActHiCommentService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author dream21th
 * @Desprition TODO
 * @since 2020-12-02 14:40:40
 */
@Service
public class ActHiCommentServiceImpl extends ServiceImpl<ActHiCommentMapper, ActHiComment> implements ActHiCommentService {

    @Override
    public IPage<Map<String, Object>> applyTasksPage(IPage page, String userId, String search, String processKey) {
        return this.baseMapper.applyTasksPage(page, userId, search, processKey);
    }

    @Override
    public IPage<Map<String, Object>> applyedTasksPage(IPage page, String userId, String search, String processKey) {
        return this.baseMapper.applyedTasksPage(page, userId, search, processKey);
    }

    @Override
    public IPage<Map<String, Object>> toAssignTasksPage(IPage page, String userId, String search, String processKey) {
        return this.baseMapper.toAssignTasksPage(page, userId, search, processKey);
    }

    @Override
    public IPage<QueryModelRespDTO> getDeployModelPage(IPage page, Map<String,Object> map) {
        return this.baseMapper.getDeployModelPage(page, map);
    }
}

